package com.imti.mall.sale.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imti.mall.model.sms.pojo.SmsFlashPromotionLog;
import com.imti.mall.sale.mapper.SmsFlashPromotionDynaSqlProvider;
import com.imti.mall.sale.mapper.SmsFlashPromotionLogDynaSqlProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

@Mapper
public interface SmsFlashPromotionLogDao extends BaseMapper<SmsFlashPromotionLog> {
    /**
     * 查询限时购通知记录表(可根据条件查询)
     * @param smsFlashPromotionLog
     * @return
     */
    @SelectProvider(type = SmsFlashPromotionLogDynaSqlProvider.class, method = "findSmsFlashPromotionLog")
    public List<SmsFlashPromotionLog> findSmsFlashPromotionLog(SmsFlashPromotionLog smsFlashPromotionLog);
}
